<p>
	<h3><a href="<?php echo $this->url(array('controller'=>'registry', 'action'=>'index')); ?>">List applications</a></h3>
</p>

<?php
if(Zend_Auth::getInstance()->hasIdentity()) {
	echo $this->form;
} else {
	echo '<br /><h2 style="color:blue">Login <a href="' . 
		$this->url(array('controller'=>'user', 'action'=>'login')) . 
	'">here</a> to create new application.</h2><br />';
}
?>
